package cn.com.twoke.game.common.entity.message;

import cn.com.twoke.game.common.constants.MessageType;

public class LogoutMessage extends Message {

    private String username;

    public LogoutMessage(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public MessageType getType() {
        return MessageType.LOGOUT;
    }
}
